using System.Collections.Generic;
using System;
using UnityEngine;

/// <summary>
/// 在这里定义项目独有的c#导出到tolua的设置
/// </summary>
public sealed class ProjToLuaExportSettings
{
    /// <summary>
    /// 当前项目中需要导出到lua中的类
    /// </summary>
    /// <value></value>
    public static System.Type[] customExportTypes = new System.Type[]
    {
         //typeof(System.Object),
         typeof(TMPro.TextMeshProUGUI),
         typeof(TMPro.TextMeshPro),
         typeof(CanvasRenderer),
         typeof(TextMeshInputFieldWrap),
         typeof(AnimationEventWrap),
         typeof(TMPDropdownWrap),
         typeof(TMPHyperLinkClick),
         typeof(TMPHyperLinkHover),
         typeof(UnityEngine.UI.HorizontalLayoutGroup),
         typeof(UnityEngine.UI.VerticalLayoutGroup),
         typeof(UnityEngine.UI.GridLayoutGroup),
         typeof(UnityEngine.UI.GridLayoutGroup.Axis),
         typeof(UnityEngine.UI.ContentSizeFitter),
         typeof(UnityEngine.UI.LayoutElement),
    };

    /// <summary>
    /// 需要导出到lua的c#回调类型
    /// </summary>
    /// <value></value>
    public static System.Type[] customDelegateExportTypes = new System.Type[]
    {
        typeof(Action<Dictionary<string, string>>),
        typeof(Func<Dictionary<string, string>>),
        typeof(Func<string, GameObject>),
    };
}
